<template>
	<view class="content">
		<view class="content_list">
			<image class="image" :src="data.images_list" mode="aspectFit"></image>
		</view>
		<view class="input-box">
			<view class="input">{{data.title}}</view>
		</view>
		<view class="text" v-html="data.content"></view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '关于我们',
				data: {}
			}
		},
		methods: {

			getRequest() {
				var then = this
				this.$http.post("/system/getCompanyInfoWx", {}).then(res => {
					console.log(res);
					then.data = res.data.data
				})
			}
		},
		onLoad() {
			this.getRequest()
		}
	}
</script>

<style>
	* {
		margin: 0 auto;
		padding: 0 0;
	}

	.content {
		width: 100vw;
		height: 100vh;
		background-color: #F5F5F5;
		box-sizing: border-box; //盒子模型
	}

	.content_list {
		width: 100%;
		height: 450rpx;
	}

	.image {
		width: 100%;
		height: 100%;
	}

	.input-box {
		width: 400rpx;
		height: 56rpx;
		background: #3d9c36;
		border-radius: 28rpx;
		position: relative;
		top: 40rpx;
		margin-left: 200rpx;
	}

	.input {
		display: flex;
		flex-direction: column;
		align-items: center;
		white-space: nowrap;
		width: 112rpx;
		height: 40rpx;
		color: #ffffff;
		padding-top: 4rpx;
		margin-left: 145rpx;
	}

	.text {
		width: 658rpx;
		height: 288rpx;
		font-size: 24rpx;
		font-weight: 500;
		text-align: LEFT;
		color: #333333;
		line-height: 48rpx;
		margin-left: 46rpx;
		margin-right: 46rpx;
		text-indent: 2em;
		margin-top: 80rpx;
	}
</style>